///**
// * author      :dormi330
// * date        :2018/7/16
// * description :TODO
// */
//
//package com.deep.trade.adaptor.required.mq.rabbitmq;
//
//import com.deep.trade.adaptor.required.mq.MsgReceiver;
//import com.deep.trade.adaptor.required.mq.UniqueMessageHandler;
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import java.io.IOException;
//
//@Component
//public class RabbitmqMsgReceiver implements MsgReceiver {
//
//    @Autowired
//    RabbitTemplate rabbitTemplate;
//
//    @Override
//    public void register(String topic, UniqueMessageHandler mssageHandler) throws IOException {
//        String foo = (String) rabbitTemplate.receiveAndConvert(topic);
//    }
//
//}
